#include <asm.h>
#include <regdef.h>
#include <inst_test.h>

LEAF(n29_andi_test)
    .set noreorder
    addiu s0, s0 ,1
    li  s2, 0x00
###test inst
    TEST_ANDI(0x4c23cdd4, 0x00005e89, 0x00004c80)
    TEST_ANDI(0xa1286600, 0x000008aa, 0x00000000)
    TEST_ANDI(0xea42f8c0, 0x00008d3e, 0x00008800)
    TEST_ANDI(0xfbbea379, 0x00009654, 0x00008250)
    TEST_ANDI(0x701ff540, 0x0000601f, 0x00006000)
    TEST_ANDI(0x509b8bd4, 0x0000fd3c, 0x00008914)
    TEST_ANDI(0x7f92d195, 0x000007a0, 0x00000180)
    TEST_ANDI(0x2e273e78, 0x0000175e, 0x00001658)
    TEST_ANDI(0x866dcbc0, 0x0000c84c, 0x0000c840)
    TEST_ANDI(0xd0b35788, 0x00006224, 0x00004200)
    TEST_ANDI(0x05d143e2, 0x0000b37a, 0x00000362)
    TEST_ANDI(0x7287ec60, 0x00001e2e, 0x00000c20)
    TEST_ANDI(0x0eeab150, 0x0000c349, 0x00008140)
    TEST_ANDI(0x2a3a9780, 0x0000d980, 0x00009180)
    TEST_ANDI(0x2b7f8e00, 0x000006e9, 0x00000600)
    TEST_ANDI(0x1e9ae240, 0x00005505, 0x00004000)
    TEST_ANDI(0x2a4c4ce3, 0x0000df84, 0x00004c80)
    TEST_ANDI(0x03f6e344, 0x0000c020, 0x0000c000)
    TEST_ANDI(0xff64c5dd, 0x00005d50, 0x00004550)
    TEST_ANDI(0xaa1cc200, 0x00008ee3, 0x00008200)
    TEST_ANDI(0x6241b174, 0x00008170, 0x00008170)
    TEST_ANDI(0x75d368ca, 0x0000e336, 0x00006002)
    TEST_ANDI(0x96b18fd2, 0x0000dd40, 0x00008d40)
    TEST_ANDI(0xa174a3c8, 0x00005936, 0x00000100)
    TEST_ANDI(0x329575a8, 0x00001160, 0x00001120)
    TEST_ANDI(0xc4415b00, 0x00008b5d, 0x00000b00)
    TEST_ANDI(0x557228b0, 0x00000a48, 0x00000800)
    TEST_ANDI(0xc9e36fbc, 0x00006a35, 0x00006a34)
    TEST_ANDI(0x6f8bc9dd, 0x0000ae65, 0x00008845)
    TEST_ANDI(0xe2b058c0, 0x0000bcc0, 0x000018c0)
    TEST_ANDI(0x71f1c140, 0x0000219c, 0x00000100)
    TEST_ANDI(0xe0827181, 0x0000fca6, 0x00007080)
    TEST_ANDI(0x0abff996, 0x000088c9, 0x00008880)
    TEST_ANDI(0xb8aed1b6, 0x0000517f, 0x00005136)
    TEST_ANDI(0x4d92ee9e, 0x0000c7ce, 0x0000c68e)
    TEST_ANDI(0x8d2a7020, 0x000001a6, 0x00000020)
    TEST_ANDI(0xf21afb20, 0x00000470, 0x00000020)
    TEST_ANDI(0x09bc8058, 0x000062c8, 0x00000048)
    TEST_ANDI(0x941a5f1d, 0x0000a21c, 0x0000021c)
    TEST_ANDI(0x5d2ce596, 0x00006941, 0x00006100)
    TEST_ANDI(0x237ee620, 0x0000f505, 0x0000e400)
    TEST_ANDI(0xa82b38f0, 0x0000ab7a, 0x00002870)
    TEST_ANDI(0x11bdcf7c, 0x00008908, 0x00008908)
    TEST_ANDI(0x69f14ac2, 0x00002a6d, 0x00000a40)
    TEST_ANDI(0xdd27baac, 0x0000b320, 0x0000b220)
    TEST_ANDI(0xe39e9284, 0x00002176, 0x00000004)
    TEST_ANDI(0xed948c28, 0x00004c6a, 0x00000c28)
    TEST_ANDI(0x8f4fa6a8, 0x0000e4c0, 0x0000a480)
    TEST_ANDI(0xc9bb4800, 0x0000ffac, 0x00004800)
    TEST_ANDI(0xacb5fb96, 0x0000d600, 0x0000d200)
    TEST_ANDI(0xdf6e23d5, 0x0000df38, 0x00000310)
    TEST_ANDI(0xc10525c0, 0x000015ab, 0x00000580)
    TEST_ANDI(0x5addc038, 0x0000258d, 0x00000008)
    TEST_ANDI(0xbe1bc16c, 0x00008807, 0x00008004)
    TEST_ANDI(0xc2f2f240, 0x00004648, 0x00004240)
    TEST_ANDI(0xe62d324d, 0x00000747, 0x00000245)
    TEST_ANDI(0xf85c1eac, 0x0000fe17, 0x00001e04)
    TEST_ANDI(0x2ad1aed8, 0x0000c2c4, 0x000082c0)
    TEST_ANDI(0xff7fabc4, 0x00003eb4, 0x00002a84)
    TEST_ANDI(0x9585f1d2, 0x0000d660, 0x0000d040)
    TEST_ANDI(0x5a202319, 0x0000da24, 0x00000200)
    TEST_ANDI(0x7f2cbaf0, 0x00000fa0, 0x00000aa0)
    TEST_ANDI(0xf8c8d908, 0x00004eea, 0x00004808)
    TEST_ANDI(0x88b99343, 0x0000dae0, 0x00009240)
    TEST_ANDI(0xacea571a, 0x0000f06b, 0x0000500a)
    TEST_ANDI(0x8eec93f0, 0x0000cc59, 0x00008050)
    TEST_ANDI(0x8daee7e0, 0x00000b40, 0x00000340)
    TEST_ANDI(0xc328f184, 0x0000da22, 0x0000d000)
    TEST_ANDI(0x46d2c0cb, 0x000075db, 0x000040cb)
    TEST_ANDI(0xffa4e240, 0x0000c88e, 0x0000c000)
    TEST_ANDI(0xd9c133b8, 0x00006c88, 0x00002088)
    TEST_ANDI(0x50b276c0, 0x0000f64c, 0x00007640)
    TEST_ANDI(0x8f871660, 0x0000b27c, 0x00001260)
    TEST_ANDI(0x5d4b0f1b, 0x00005774, 0x00000710)
    TEST_ANDI(0xe1871463, 0x00009b00, 0x00001000)
    TEST_ANDI(0x886367fc, 0x00001539, 0x00000538)
    TEST_ANDI(0xda10c9e1, 0x00001010, 0x00000000)
    TEST_ANDI(0xd756e5a8, 0x0000b8ea, 0x0000a0a8)
    TEST_ANDI(0x303776a0, 0x000065b9, 0x000064a0)
    TEST_ANDI(0x679f3538, 0x00005c36, 0x00001430)
    TEST_ANDI(0x3caba000, 0x0000f42b, 0x0000a000)
    TEST_ANDI(0x9c3a2af6, 0x0000947a, 0x00000072)
    TEST_ANDI(0x3e110120, 0x00000933, 0x00000120)
    TEST_ANDI(0x5b444b50, 0x000053fd, 0x00004350)
    TEST_ANDI(0x7bc83792, 0x00004dca, 0x00000582)
    TEST_ANDI(0x70f52ba0, 0x000046ae, 0x000002a0)
    TEST_ANDI(0x82e0e700, 0x00001df4, 0x00000500)
    TEST_ANDI(0xa4c47db6, 0x0000f31a, 0x00007112)
    TEST_ANDI(0xae6b72c9, 0x00000704, 0x00000200)
    TEST_ANDI(0x31932830, 0x00000cfa, 0x00000830)
    TEST_ANDI(0x5f3d333a, 0x000005f0, 0x00000130)
    TEST_ANDI(0xfd897e9e, 0x0000d584, 0x00005484)
    TEST_ANDI(0xc95cd808, 0x0000be7d, 0x00009808)
    TEST_ANDI(0xed80b6cb, 0x0000b4f8, 0x0000b4c8)
    TEST_ANDI(0x13ad5f46, 0x0000a3ba, 0x00000302)
    TEST_ANDI(0xddca89b0, 0x0000c17d, 0x00008130)
    TEST_ANDI(0x0056f828, 0x0000ac60, 0x0000a820)
    TEST_ANDI(0x9da464e2, 0x00008528, 0x00000420)
    TEST_ANDI(0x6bd88840, 0x0000552d, 0x00000000)
    TEST_ANDI(0x30782928, 0x00005a82, 0x00000800)
    TEST_ANDI(0xd760f054, 0x000092d4, 0x00009054)
    TEST_ANDI(0x45927f80, 0x0000c0af, 0x00004080)
    TEST_ANDI(0xd3b70800, 0x00000863, 0x00000800)
    TEST_ANDI(0xa4ff4a18, 0x00006f1e, 0x00004a18)
    TEST_ANDI(0x5713fefe, 0x0000870e, 0x0000860e)
    TEST_ANDI(0xc7cdd321, 0x00006f46, 0x00004300)
    TEST_ANDI(0x74b899e4, 0x000002b0, 0x000000a0)
    TEST_ANDI(0x1c098ec0, 0x0000a488, 0x00008480)
    TEST_ANDI(0x21b011c0, 0x0000a1b3, 0x00000180)
    TEST_ANDI(0x9fa69f68, 0x0000d230, 0x00009220)
    TEST_ANDI(0x7f3c4c95, 0x00002e4c, 0x00000c04)
    TEST_ANDI(0x004c9682, 0x00001bc0, 0x00001280)
    TEST_ANDI(0xe36c870c, 0x0000e354, 0x00008304)
    TEST_ANDI(0xb158d481, 0x00003cd0, 0x00001480)
    TEST_ANDI(0xc9265040, 0x0000f124, 0x00005000)
    TEST_ANDI(0xa9eeef7b, 0x00008af3, 0x00008a73)
    TEST_ANDI(0xbd9c32aa, 0x0000fb85, 0x00003280)
    TEST_ANDI(0xd146e020, 0x00005219, 0x00004000)
    TEST_ANDI(0xec63fefa, 0x00002a02, 0x00002a02)
    TEST_ANDI(0xaad9a6e2, 0x0000ee60, 0x0000a660)
    TEST_ANDI(0x381372fc, 0x00003834, 0x00003034)
    TEST_ANDI(0xa2ef5b64, 0x0000ef65, 0x00004b64)
    TEST_ANDI(0xe62ebb8c, 0x00009347, 0x00009304)
    TEST_ANDI(0x1ac0fd8d, 0x00008670, 0x00008400)
    TEST_ANDI(0xe8ee1820, 0x0000ad68, 0x00000820)
    TEST_ANDI(0xc7c723dc, 0x000093e5, 0x000003c4)
    TEST_ANDI(0x6b027aaa, 0x00004f68, 0x00004a28)
    TEST_ANDI(0x0fce0850, 0x0000243a, 0x00000010)
    TEST_ANDI(0x85d852f8, 0x0000ce83, 0x00004280)
    TEST_ANDI(0x704986dc, 0x00002eea, 0x000006c8)
    TEST_ANDI(0x0d4d9452, 0x0000b4fc, 0x00009450)
    TEST_ANDI(0x9afb0dcd, 0x00001020, 0x00000000)
    TEST_ANDI(0x396a58de, 0x00003e88, 0x00001888)
    TEST_ANDI(0xbb4ad310, 0x00005276, 0x00005210)
    TEST_ANDI(0x94b896ba, 0x0000ebeb, 0x000082aa)
    TEST_ANDI(0xd8ee2d71, 0x0000afec, 0x00002d60)
    TEST_ANDI(0xc0798d00, 0x00004390, 0x00000100)
    TEST_ANDI(0xea325e48, 0x0000d1b4, 0x00005000)
    TEST_ANDI(0x2bac4149, 0x00003a30, 0x00000000)
    TEST_ANDI(0x377d4040, 0x00008ecc, 0x00000040)
    TEST_ANDI(0xcdf62f00, 0x0000b508, 0x00002500)
    TEST_ANDI(0x15c1c13e, 0x0000646c, 0x0000402c)
    TEST_ANDI(0xbabb5e27, 0x00001d0e, 0x00001c06)
    TEST_ANDI(0x04d931c0, 0x00001adc, 0x000010c0)
    TEST_ANDI(0x49426dd4, 0x00007d1e, 0x00006d14)
    TEST_ANDI(0x6f24aeec, 0x0000f88b, 0x0000a888)
    TEST_ANDI(0xa5f5f200, 0x000076b8, 0x00007200)
    TEST_ANDI(0x25826e76, 0x000073d5, 0x00006254)
    TEST_ANDI(0xeddcd8ec, 0x0000f43a, 0x0000d028)
    TEST_ANDI(0x0007e4e4, 0x0000e474, 0x0000e464)
    TEST_ANDI(0x62b8ba1c, 0x000089d0, 0x00008810)
    TEST_ANDI(0xcc5c34c4, 0x0000cfce, 0x000004c4)
    TEST_ANDI(0xeb342068, 0x0000c734, 0x00000020)
    TEST_ANDI(0xc2cadb00, 0x000082b1, 0x00008200)
    TEST_ANDI(0xf168f07c, 0x00003e4f, 0x0000304c)
    TEST_ANDI(0xb7dfc700, 0x0000ac0f, 0x00008400)
    TEST_ANDI(0x7dcba54c, 0x0000d200, 0x00008000)
    TEST_ANDI(0x98a8a1b0, 0x0000f1d2, 0x0000a190)
    TEST_ANDI(0xbe676615, 0x0000d896, 0x00004014)
    TEST_ANDI(0x0e2d0dac, 0x00002b1e, 0x0000090c)
    TEST_ANDI(0xef28f600, 0x0000e500, 0x0000e400)
    TEST_ANDI(0xcd0d570c, 0x00000a1a, 0x00000208)
    TEST_ANDI(0xec254b7a, 0x00008804, 0x00000800)
    TEST_ANDI(0x3e31b970, 0x0000408e, 0x00000000)
    TEST_ANDI(0x1e923138, 0x0000636d, 0x00002128)
    TEST_ANDI(0x1853113b, 0x0000c1d6, 0x00000112)
    TEST_ANDI(0x38ec0c00, 0x0000f89b, 0x00000800)
    TEST_ANDI(0x90dfc0f4, 0x0000e980, 0x0000c080)
    TEST_ANDI(0xf0f2863c, 0x0000fbd9, 0x00008218)
    TEST_ANDI(0x589305c8, 0x00004748, 0x00000548)
    TEST_ANDI(0xcb3b43b8, 0x00003bb8, 0x000003b8)
    TEST_ANDI(0x4fdfa51c, 0x00004eab, 0x00000408)
    TEST_ANDI(0xac86fbe0, 0x00000972, 0x00000960)
    TEST_ANDI(0x62474c80, 0x00000b5a, 0x00000800)
    TEST_ANDI(0xfef57efc, 0x0000ed98, 0x00006c98)
    TEST_ANDI(0x62e53c80, 0x00008d5c, 0x00000c00)
    TEST_ANDI(0x297f7040, 0x00008e8f, 0x00000000)
    TEST_ANDI(0xbdd81cc1, 0x0000e399, 0x00000081)
    TEST_ANDI(0xa6cd25d9, 0x00002e4c, 0x00002448)
    TEST_ANDI(0x1a638e63, 0x0000958a, 0x00008402)
    TEST_ANDI(0x8dc0afec, 0x000084f0, 0x000084e0)
    TEST_ANDI(0x6bae246e, 0x0000b060, 0x00002060)
    TEST_ANDI(0x3cfaff80, 0x0000275b, 0x00002700)
    TEST_ANDI(0x56957cf1, 0x0000085c, 0x00000850)
    TEST_ANDI(0xab399314, 0x0000c874, 0x00008014)
    TEST_ANDI(0xbb5c6f4a, 0x0000228f, 0x0000220a)
    TEST_ANDI(0x89e84318, 0x0000cef4, 0x00004210)
    TEST_ANDI(0xdcb88a10, 0x0000d9dc, 0x00008810)
    TEST_ANDI(0x9c178075, 0x000002ff, 0x00000075)
    TEST_ANDI(0x703def20, 0x00002201, 0x00002200)
    TEST_ANDI(0x525f1bc4, 0x0000ff42, 0x00001b40)
    TEST_ANDI(0x40e45ee8, 0x0000387d, 0x00001868)
    TEST_ANDI(0xfd12c8b8, 0x00003e3d, 0x00000838)
    TEST_ANDI(0x8dd34660, 0x0000e6b9, 0x00004620)
    TEST_ANDI(0x2d899331, 0x000002c0, 0x00000200)
    TEST_ANDI(0xc380bae0, 0x00001ccf, 0x000018c0)
    TEST_ANDI(0x6901f8aa, 0x0000d7be, 0x0000d0aa)
    TEST_ANDI(0x195e5c70, 0x0000d28c, 0x00005000)
    TEST_ANDI(0x045d0d20, 0x0000197d, 0x00000920)
    TEST_ANDI(0x58523014, 0x00006d72, 0x00002010)
    TEST_ANDI(0x4593277c, 0x00000000, 0x00000000)
    TEST_ANDI(0x49b1cc7b, 0x00000000, 0x00000000)
    TEST_ANDI(0xf03f7e70, 0x00000000, 0x00000000)
    TEST_ANDI(0x43eae8f0, 0x00000000, 0x00000000)
    TEST_ANDI(0xc5a82940, 0x00000000, 0x00000000)
    TEST_ANDI(0xac1f35a0, 0x00000000, 0x00000000)
    TEST_ANDI(0xac1b0623, 0x00000000, 0x00000000)
    TEST_ANDI(0x3abb76c0, 0x00000000, 0x00000000)
    TEST_ANDI(0xcf6bd3fc, 0x00000000, 0x00000000)
    TEST_ANDI(0x3b7f71f3, 0x00000000, 0x00000000)
    TEST_ANDI(0x9fef1a7c, 0x00000000, 0x00000000)
    TEST_ANDI(0xb1980f60, 0x00000000, 0x00000000)
    TEST_ANDI(0x135f3ae8, 0x00000000, 0x00000000)
    TEST_ANDI(0x1638ddf6, 0x00000000, 0x00000000)
    TEST_ANDI(0x426d3664, 0x00000000, 0x00000000)
    TEST_ANDI(0xa164a7a3, 0x00000000, 0x00000000)
    TEST_ANDI(0xaf159c7a, 0x00000000, 0x00000000)
    TEST_ANDI(0x68950560, 0x00000000, 0x00000000)
    TEST_ANDI(0x840cef68, 0x00000000, 0x00000000)
    TEST_ANDI(0x65a72314, 0x00000000, 0x00000000)
    TEST_ANDI(0x4372c5c0, 0x00000000, 0x00000000)
    TEST_ANDI(0x80f3a836, 0x00000000, 0x00000000)
    TEST_ANDI(0xc61777fc, 0x00000000, 0x00000000)
    TEST_ANDI(0xde35ed25, 0x00000000, 0x00000000)
    TEST_ANDI(0x00f0ac7a, 0x00000000, 0x00000000)
    TEST_ANDI(0xb0de36a8, 0x00000000, 0x00000000)
    TEST_ANDI(0x08f17adc, 0x00000000, 0x00000000)
    TEST_ANDI(0x15e1b69c, 0x00000000, 0x00000000)
    TEST_ANDI(0x7b6926c4, 0x00000000, 0x00000000)
    TEST_ANDI(0xcc90f600, 0x00000000, 0x00000000)
    TEST_ANDI(0x48c9e84b, 0x00000000, 0x00000000)
    TEST_ANDI(0x146fda2e, 0x00000000, 0x00000000)
    TEST_ANDI(0xaade3180, 0x00000000, 0x00000000)
    TEST_ANDI(0xa6d6f0f0, 0x00000000, 0x00000000)
    TEST_ANDI(0x1be76f70, 0x00000000, 0x00000000)
    TEST_ANDI(0x1f49becc, 0x00000000, 0x00000000)
    TEST_ANDI(0x587e1ec1, 0x00000000, 0x00000000)
    TEST_ANDI(0x3b1d0ec0, 0x00000000, 0x00000000)
    TEST_ANDI(0xd3acc110, 0x00000000, 0x00000000)
    TEST_ANDI(0xe925fd50, 0x00000000, 0x00000000)
    TEST_ANDI(0xcf2b8c46, 0x00000000, 0x00000000)
    TEST_ANDI(0x368c5db5, 0x00000000, 0x00000000)
    TEST_ANDI(0x00aff7c8, 0x00000000, 0x00000000)
    TEST_ANDI(0x3ce74c00, 0x00000000, 0x00000000)
    TEST_ANDI(0x31318f60, 0x00000000, 0x00000000)
    TEST_ANDI(0x1b684480, 0x00000000, 0x00000000)
    TEST_ANDI(0xcfc9a7a8, 0x00000000, 0x00000000)
    TEST_ANDI(0xf34f9e20, 0x00000000, 0x00000000)
    TEST_ANDI(0x1914123c, 0x00000000, 0x00000000)
    TEST_ANDI(0xdaaae9aa, 0x00000000, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000f73c, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000c186, 0x00000000)
    TEST_ANDI(0x00000000, 0x00007b48, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000d5e0, 0x00000000)
    TEST_ANDI(0x00000000, 0x00005495, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000bafc, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000b130, 0x00000000)
    TEST_ANDI(0x00000000, 0x00007965, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000e238, 0x00000000)
    TEST_ANDI(0x00000000, 0x00009444, 0x00000000)
    TEST_ANDI(0x00000000, 0x00002fc4, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000a378, 0x00000000)
    TEST_ANDI(0x00000000, 0x00001fa6, 0x00000000)
    TEST_ANDI(0x00000000, 0x00005b9e, 0x00000000)
    TEST_ANDI(0x00000000, 0x00009928, 0x00000000)
    TEST_ANDI(0x00000000, 0x000033a0, 0x00000000)
    TEST_ANDI(0x00000000, 0x00002f6d, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000a348, 0x00000000)
    TEST_ANDI(0x00000000, 0x00006f00, 0x00000000)
    TEST_ANDI(0x00000000, 0x00000900, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000fba0, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000d560, 0x00000000)
    TEST_ANDI(0x00000000, 0x00001099, 0x00000000)
    TEST_ANDI(0x00000000, 0x00005f98, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000fd24, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000e294, 0x00000000)
    TEST_ANDI(0x00000000, 0x000099c8, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000f52f, 0x00000000)
    TEST_ANDI(0x00000000, 0x000093e1, 0x00000000)
    TEST_ANDI(0x00000000, 0x000053c7, 0x00000000)
    TEST_ANDI(0x00000000, 0x00008718, 0x00000000)
    TEST_ANDI(0x00000000, 0x00009a98, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000495e, 0x00000000)
    TEST_ANDI(0x00000000, 0x000080d0, 0x00000000)
    TEST_ANDI(0x00000000, 0x00006cf5, 0x00000000)
    TEST_ANDI(0x00000000, 0x00006f38, 0x00000000)
    TEST_ANDI(0x00000000, 0x00009801, 0x00000000)
    TEST_ANDI(0x00000000, 0x00007d32, 0x00000000)
    TEST_ANDI(0x00000000, 0x00009e2c, 0x00000000)
    TEST_ANDI(0x00000000, 0x000078b2, 0x00000000)
    TEST_ANDI(0x00000000, 0x00007028, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000c013, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000e000, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000db02, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000cb00, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000ee05, 0x00000000)
    TEST_ANDI(0x00000000, 0x000024ca, 0x00000000)
    TEST_ANDI(0x00000000, 0x000020b2, 0x00000000)
    TEST_ANDI(0x00000000, 0x00007bc7, 0x00000000)
    TEST_ANDI(0x00000000, 0x0000546b, 0x00000000)
    TEST_ANDI(0x00000000, 0x00000000, 0x00000000)
###detect exception
    bne s2, zero, inst_error
    nop
###score ++
    addiu s3, s3, 1
###output (s0<<24)|s3
inst_error:  
    sll t1, s0, 24
    or t0, t1, s3 
    sw t0, 0(s1)
    jr ra
    nop
END(n29_andi_test)
